﻿using System;
using System.Windows;

namespace LinesOfAction
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void MainWindow_OnSizeChanged(object _sender, SizeChangedEventArgs _e)
        {
            Board.Width = Board.Height = Math.Max(_e.NewSize.Height, _e.NewSize.Width);
        }
    }
}
